﻿using System.Collections.Generic;

namespace BlackBox
{
    public class AnalysisData
    {
        public int NewsId { get; set;}
        public int MatchingNewsId { get; set; }
        public decimal PriceAtEvent { get; set; }
        public IDictionary<MinuteInterval, decimal> ProjectedChangePercentage { get; set; }
        public IDictionary<MinuteInterval, decimal> ActualChangePercentage { get; set; }

        public AnalysisData()
        {
            ProjectedChangePercentage = new Dictionary<MinuteInterval, decimal>();
            ActualChangePercentage = new Dictionary<MinuteInterval, decimal>();
        }
    }

    public enum MinuteInterval
    {
        One = 1,
        Three = 3,
        Five = 5,
        Ten = 10,
        Twenty = 20,
        FortyFive = 45
    }
}